<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            width: 100px;
            height: 100px;
            background-color: #00bb99;
            transition: 2s;
            margin: 100px;
            /*指定动画的远点*/
            transform-origin: 0 0;
        }
        div:hover{
            transform: scale(2);
        }
    </style>
</head>
<body>
    <div></div>
</body>
</html>